package com.hina.rec.endpoint.res.system;

import com.hina.rec.endpoint.res.base.BaseRes;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 登录响应
 *
 * @author liaosp
 * @date 2024-01-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "登录响应")
public class LoginRes extends BaseRes {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 令牌
     */
    @Schema(description = "令牌")
    private String token;
}